import warnings

warnings.filterwarnings(
    "ignore", message="error reading bcrypt version",
    category=RuntimeWarning, module="passlib.handlers.bcrypt"
)

from src import create_app
from src.settings import setting

app = create_app()

if __name__ == '__main__':
    import uvicorn

    uvicorn.run(app, host=setting.APP_HOST, port=setting.APP_PORT)
